package com.example.demo.pipeline.handler.impl;


import com.example.demo.pipeline.context.TemplateContext;
import com.example.demo.pipeline.handler.TemplateHandler;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

/**
 * @author liyuncong
 * @version 1.0
 * @file CreateTemplateHandler
 * @brief CreateTemplateHandler
 * @details CreateTemplateHandler
 * @date 2022-11-02
 *
 * Edit History
 * ----------------------------------------------------------------------------
 * DATE                        NAME               DESCRIPTION
 * 2022-11-02                      liyuncong          Created
 */
@Component
public class CreateTemplateHandler implements TemplateHandler<TemplateContext> {

    Logger log = LoggerFactory.getLogger(CreateTemplateHandler.class);

    @Override
    public Boolean handler(TemplateContext context) {
        log.info("create template");
        return true;
    }
}
